package cn.icatw.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.icatw.common.utils.PageUtils;
import cn.icatw.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * @author icatw
 * @email 762188827@qq.com
 * @date 2022-03-08 09:17:30
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * description: 条件查询分页 查询采购需求
     *
     * @param params
     * @return cn.icatw.common.utils.PageUtils
     */
    PageUtils queryPageByCondition(Map<String, Object> params);

    /**
     * description: 根据采购单id获取采购项详情
     *
     * @param id
     * @return java.util.List<cn.icatw.gulimall.ware.entity.PurchaseDetailEntity>
     */
    List<PurchaseDetailEntity> listDetailByPurchaseId(Long id);
}

